package com.ruoyi.service;

import com.ruoyi.common.PageResult;
import com.ruoyi.common.Result;
import com.ruoyi.domain.Templates;
import com.ruoyi.domain.TemplatesDTO;
import java.nio.file.Path;

/**
 * @Classname TemplatesService
 * @Description TODO
 * @Date 2025/3/20 09:48
 * @Created by xxx
 */
public interface TemplatesService {
    boolean upload(TemplatesDTO templatesDTO);

    PageResult list(TemplatesDTO templatesDTO);

    boolean delete(Integer id, Long userId);

    Templates getDownloadPath(Integer templateId, Long userId);

    Result listAll();
}
